Skip to content

Add .github/copilot-instructions.md#7

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/set-up-copilot-instructions
Draft

Add .github/copilot-instructions.md#7
Copilot wants to merge 2 commits intomainfrom
copilot/set-up-copilot-instructions

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 21, 2026

Adds repository-specific instructions for the Copilot coding agent per the recommended best practices at gh.io/copilot-coding-agent-tips.

What's included

  • Architecture context — Cloudflare Worker + D1 (OAuth tables) + Neon PostgreSQL (users), single-file no-build-step deployment via wrangler
  • Developer workflownpm run dev, deploy, db:init:local, and how to run the end-to-end shell test
  • Environment/secrets tableADMIN_KEY, POSTGRES_URL, SALT; explicitly flags that SALT must be a Wrangler secret and must not live in the version-controlled wrangler.toml
  • Code conventions — ES modules only, Web Crypto API (no Node crypto), required response headers, token prefix scheme, all-tokens-hashed-before-storage rule, keep single-file structure
  • Endpoint → handler mapping — quick reference table so Copilot targets the right function
  • Security guardrails — mandatory PKCE (S256 only), redirect URI validation, and a prominent callout that SHA-256 password hashing is a known limitation that should be replaced with bcrypt/scrypt/Argon2 in production

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gh.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: jcameronjeff <32875696+jcameronjeff@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up Copilot instructions for repository Add .github/copilot-instructions.md Feb 21, 2026
Copilot AI requested a review from jcameronjeff February 21, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

2 participants